home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------------
- //
- // This code is copyright 2001 by G5 Software.
- // Any unauthorized usage, either in part or in whole of this code
- // is strictly prohibited. Violators WILL be prosecuted to the
- // maximum extent allowed by law.
- //
- //-------------------------------------------------------------------
-
- class CLargeHouseMesh
- {
- string MeshFile = "Models/B_House_l.mesh";
- string SkinFile = "Models/B_House_l.skin";
- }
-
- class CLargeHouseStateControl extends CUnitLifeControl
- {
- void CLargeHouseStateControl()
- {
- CUnitLifeControl(5000.0);
- m_DestroyPause = 20.0;
- m_ExplosionId = "EXPLID_BuildingExplosion";
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseLargeHouse extends CBuilding, CUnitWithStateControl
- {
- void CBaseLargeHouse()
- {
- InitializeModelAsStatic("CLargeHouseMesh");
- CUnitWithStateControl("CLargeHouseStateControl");
- }
- }
-
- class CBaseSovietLargeHouse extends CBaseLargeHouse
- {
- void CBaseSovietLargeHouse()
- {
- Core_AddClassificator("Russian");
- Core_AddClassificator("GroundUnit");
- }
- }
-
- class CMountedSovietLargeHouse extends CBaseSovietLargeHouse
- {
- void CMountedSovietLargeHouse()
- {
- InitializeGroundControl();
- }
- }
-
- // Large game object
- class CMountedLargeHouse extends CBaseLargeHouse
- {
- void CMountedLargeHouse()
- {
- InitializeGroundControl();
- }
- }
-